<?php
namespace Api\Model;
use Think\Model;
class LoginModel extends Model{
	//��֤
	public function Login($username,$password){
		
		$map['user_name']=$username;
		$map['password']=$password;
		$data=M('user')->where($map)->select();
		return $data;

	}










}
